package org.chenjian.portal80.dao;


import org.apache.ibatis.annotations.*;

import org.chenjian.portal80.model.Theuser;

import java.util.List;
@Mapper
public interface UserDao {
   @Select("select uid,uname,upassword from theuser")
    List<Theuser> selectAll();

   @Select("select uid,uname,upassword from theuser where uname=#{uname} and upassword=#{upassword}")
    Theuser selectUserByInfo(@Param("uname") String uname,@Param("upassword") String upassword);
}
